<template>
  <!-- 建筑工程设计资质类型 -->
  <div>
    <img width="100%" src="~/assets/img/m_jzgszcb_banner.jpg" alt="">
    <!--  -->
     <section class="m_sjzz1">
       <ul class="m_sjzz1_list">
              <li><img src="~/assets/img/jzgszcbi1.png" alt=""><p>通信施工资质</p></li>
              <li><img src="~/assets/img/jzgszcbi2.png" alt=""><p>矿山工程资质</p></li>
              <li><img src="~/assets/img/jzgszcbi3.png" alt=""><p>冶金工程资质</p></li>
              <li><img src="~/assets/img/jzgszcbi4.png" alt=""><p>铁路工程资质</p></li>
              <li><img src="~/assets/img/jzgszcbi5.png" alt=""><p>港口与航道资质</p></li>
              <li><img src="~/assets/img/jzgszcbi6.png" alt=""><p>水利水电资质</p></li>
              <li><img src="~/assets/img/jzgszcbi7.png" alt=""><p>公路工程资质</p></li>
              <li><img src="~/assets/img/jzgszcbi8.png" alt=""><p>石油化工资质</p></li>
              <li><img src="~/assets/img/jzgszcbi9.png" alt=""><p>电力施工资质</p></li>
              <li><img src="~/assets/img/jzgszcbi10.png" alt=""><p>机电工程资质</p></li>
              <li><img src="~/assets/img/jzgszcbi11.png" alt=""><p>市政工程资质</p></li>
              <li><img src="~/assets/img/jzgszcbi12.png" alt=""><p>建筑工程资质</p></li>
        </ul>
      </section>
    <!--  -->
    <!-- 建筑工程设计资质类型 -->
    <div style="height: 0.2rem;background: #F2F2F5;"></div>
    <section class="sy sy8">
      <h3>服务精英推荐</h3>
      <div class="two zb">
        <ul class="ct zb">
          <li v-for="(data,id) in title.gj" :key="id" :class="'li'+id" :style="{background:'url('+'https://exam.zhonghaiqihang.com'+data.avatar+') no-repeat 0rem 0/3.4rem 2.69rem',width:'3.2rem',height:'2.69rem'}">
            <div class="top">
              <h4>{{data.username}}</h4>
              <p class="p2">经营资质顾问</p>
              <p class="p3">{{data.mobile}}</p>
            </div>
            <a @click="chj_gj(data,id)" href="JavaScript:;">立即咨询</a>
          </li>
        </ul>
      </div>
    </section>

    <!-- 案例展示 -->
      <div style="height: 0.2rem;background: #F2F2F5;"></div>
      <div class="m_alzs">
        <p class="title">案例展示</p>
        <ul class="af">
          <li><img src="~/assets/img/m_alzsimg1.png" alt=""></li>
          <li><img src="~/assets/img/m_alzsimg2.png" alt=""></li>
          <li><img src="~/assets/img/m_alzsimg3.png" alt=""></li>
          <li><img src="~/assets/img/m_alzsimg4.png" alt=""></li>
          <li><img src="~/assets/img/m_alzsimg5.png" alt=""></li>
        </ul>
      </div>
    <!-- 案例展示 -->
    <!-- 小banner -->
    <div style="height: 0.2rem;background: #F2F2F5;"></div>
      <img style="width: 100%;" src="~/assets/img/m_jzgszcb_xq.jpg" alt="">
      <div style="height: 0.2rem;background: #F2F2F5;"></div>
    <!-- 小banner -->
    <!-- 服务介绍 -->

      <div class="m_jzgszcb_fwjs">
        <p>服务介绍</p>
        <img style="width: 100%;" src="~/assets/img/m_jzgszcb_fwjs.jpg" alt="">
      </div>


    <!-- 服务介绍 -->
    <!-- 办理流程 -->
    <div style="height: 0.2rem;background: #F2F2F5;"></div>
    <div class="m_m_main">
      <div class="xqjz3">
        <h3>施工总承包资质办理流程</h3>
        <ul class="af">
          <li class="jzzz_li1"><i></i>
            <p style="font-size:0.2rem;padding:0 0.2rem">沟通洽谈，了解<br>企业情况</p>
          </li>
          <li class="jzzz_li2"><i></i>
            <p style="font-size:0.2rem;padding:0 0.2rem">签订合同，定制<br>专业方案</p>
          </li>
          <li class="jzzz_li3"><i></i>
            <p style="font-size:0.2rem;">组卷申报，一对一<br>沟通跟进</p>
          </li>
          <li class="jzzz_li4"><i></i>
            <p style="font-size:0.2rem;padding:0 0.2rem">上报审批，专业<br>审核人员</p>
          </li>
        </ul>
      </div>
    </div>
    <!-- 办理流程 -->
<div style="height: 0.2rem;background: #F2F2F5;"></div>
    <!-- 服务保障 -->
    <div class="fwbz">
      <h3>服务保障</h3>
      <ul class="af">
        <li class="li1">
          <h4>我们承诺</h4>
          <p>关于服务质量的反馈，我们会第一时间专人处理。保证及时解决您的问题。 </p>
        </li>
        <li class="li2">
          <h4>投诉渠道  </h4>
          <p>1、拨打400-855-1888，选择投诉；<br>2、在线联系客户投诉，描述详情；<br>通过微博、微信公众号等方式，<br>
            联系我们。 </p>
        </li>
        <li class="li3">
          <h4>处理流程 </h4>
          <p>服务中遇到困难<br/>使用400电话或在线联系企业邦<br/>企业邦立即核实情况并马上处理 </p>
        </li>
      </ul>
    </div>
    <!-- 服务保障 -->

    <!-- 热门服务 -->
      <MJZGSRMFW></MJZGSRMFW>

    <!-- 热门服务 -->

    <section class="sy sy9" style="margin-top: .18rem">
      <h3>用心对待<span>一个互联网服务品牌 企业服务智能升级的实践者</span> <em @click="more()">更多</em></h3>
      <ul>
        <li><img src="~/assets/img/m-sy91.png">
          <p>快速响应</p>
        </li>
        <li><img src="~/assets/img/m-sy92.png">
          <p>信息安全</p>
        </li>
        <li><img src="~/assets/img/m-sy93.png">
          <p>进度掌握</p>
        </li>
        <li><img src="~/assets/img/m-sy94.png">
          <p>专属服务</p>
        </li>
        <li><img src="~/assets/img/m-sy95.png">
          <p>提供售后</p>
        </li>
      </ul>

    </section>
  </div>
</template>

<script>
  import axios from 'axios';
  import $ from 'jquery';
  import MJZGSRMFW from '~/components/mjzgsrmfw.vue'
  export default {
    name: 'HelloWorld',
    data() {
      return {
        gj1: 'select',
        gj2: '',
        swiperOption: {
          loop: true,
          slidesPerView: 5,
          centeredSlides: true,
          autoplay: {
            delay: 5000,
            disableOnInteraction: false,
            spaceBetween: 5000,
            loop: true,
          },
          pagination: {
            el: '.swiper-pagination',
            dynamicBullets: true
          },
          on: {
            slideChange() {},
            tap() {}
          }
        },
        gjname: ['工商服务顾问', '财税记账顾问', '商标知产顾问', '社保人事顾问', '社保人事顾问', '资质商城顾问', '工商服务顾问', '工商服务顾问', '财税记账顾问', '财税记账顾问'],
      }
    },
    async asyncData({
      params
    }) {

      let nh = await axios.get(`https://exam.zhonghaiqihang.com/PInterface/Header/headerData`);
      let nh3 = await axios.get(`https://exam.zhonghaiqihang.com/PInterface/Service/serviceDetailsData`, {
        params: {
          serviceid: params.id
        }
      });
      let nh4 = await axios.get(`https://exam.zhonghaiqihang.com/PInterface/Receptionist/receptionistData`, {
        params: {
          serviceid: params.id
        }
      });
      let nh5 = await axios.get(`https://exam.zhonghaiqihang.com/PInterface/Service/popularData`);

      let nh6 = await axios.get(`https://exam.zhonghaiqihang.com/PInterface/QybDetailImg/getQybDetailImg`, {
        params: {
          threeid: params.id,
          //      twoid:this.$route.query.name
        }
      });

      let data = {
        nav: nh.data,
        xqdata: nh3.data,
        gj: nh4.data,
        rmfw: nh5.data,
        imgurl: nh6.data
      };
      return {
        title: data
      }
    },
    head() {
      return {
        title: '建筑公司总承包',
        meta: [{
            hid: 'description',
            name: 'description',
            content: '建筑公司总承包'
          },
          {
            hid: 'keywords',
            name: 'keywords',
            content: '建筑公司总承包'
          }
        ]
      }
    },
    components:{
      MJZGSRMFW
    },
    mounted: function() {
      $('header').show();

      function IsPC() {
        var userAgentInfo = navigator.userAgent;
        var Agents = ["Android", "iPhone",
          "SymbianOS", "Windows Phone",
          "iPad", "iPod"
        ];
        var flag = true;
        for (var v = 0; v < Agents.length; v++) {
          if (userAgentInfo.indexOf(Agents[v]) > 0) {
            flag = false;
            break;
          }
        }
        return flag;
      }
      if (IsPC()) {
        this.$router.push('/Finance');
      } else {

      }

    },

    methods: {
      xqbg: function(e) {
        $('.qhgj a').removeClass('select');
        $('.qhgj .' + e).addClass('select');
      },
    }
  }
</script>

<style>
  .mobile .fwbz{
    display: block;
    margin: 0;
  }
.m_jzgszcb_fwjs p{
  background: white;
  padding: 0.24rem;
  font-size: 0.36rem;
  font-family: Microsoft YaHei;
  font-weight: bold;
  color: #252525;
}
  .m_sjzz1_box h3{
    font-size: 0.36rem;
    font-family: Microsoft YaHei;
    font-weight: bold;
    color: #252525;
    padding-left: 0.24rem;
  }
  .m_sjzz1_box h3 span{
    font-size: 0.2rem;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #B4B4B4;
    margin-left: 0.17rem;
  }
  .m_sjzz1 {
    padding-left: 0.24rem;
    padding-right: 0.24rem;
    overflow-x: scroll;
    padding-bottom: 0.2rem;
  }

  .m_sjzz1_list {
    display: flex;
    width: 18rem;
  }

  .m_sjzz1_list li {
    width: 2rem;
    float: left;
    text-align: center;
    margin-right: 0.14rem;
    background: #FFFFFF;
    border-radius: 0.02rem;
    padding-top: 0.3rem;
  }

  .m_sjzz1_list li img {
    height: 0.6rem;
  }

  .m_sjzz1_list li p {
    font-size: 0.24rem;
    font-family: SourceHanSansCN;
    font-weight: 400;
    color: #212529;
  }

  .mobile .sy h3 {
    margin: 0 auto 0;
  }

  .m_alzs {}

  .m_alzs .title {
    font-size: 0.36rem;
    font-family: Microsoft YaHei;
    font-weight: bold;
    color: #252525;
    padding-left: 0.24rem;
    padding-top: 0.32rem;
    padding-bottom: 0.32rem;
  }

  .m_alzs ul {
    padding-left: 0.24rem;
    padding-right: 0.16rem;
    padding-bottom: 0.4rem;
  }

  .m_alzs ul li {
    width: 1.29rem;
    height: 1.92rem;
    float: left;
    margin-right: 0.16rem;
  }

  .m_alzs ul li img {
    width: 100%;
    height: 100%;
  }

  .m_alzs ul li:last-child {
    margin-right: 0rem;
  }
  .m_rmfw .m_item3{
    margin-top: 0rem;
  }

  .m_alzs {}

  .m_alzs .title {
    font-size: 0.36rem;
    font-family: Microsoft YaHei;
    font-weight: bold;
    color: #252525;
    padding-left: 0.24rem;
    padding-top: 0.32rem;
    padding-bottom: 0.32rem;
  }

  .m_alzs ul {
    padding-left: 0.24rem;
    padding-right: 0.16rem;
    padding-bottom: 0.4rem;
  }

  .m_alzs ul li {
    width: 1.29rem;
    height: 1.92rem;
    float: left;
    margin-right: 0.16rem;
  }

  .m_alzs ul li img {
    width: 100%;
    height: 100%;
  }

  .m_alzs ul li:last-child {
    margin-right: 0rem;
  }
  .mzzsj_list{
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 0.24rem;
    flex-wrap: wrap;
    border-top: 0.01rem dashed #EEEEF2;
    padding-bottom: 0.3rem;
  }
  .mzzsj_list li{
    width: 2.2rem;
    height: 0.8rem;
    background: #E4F0FD;
    font-size: 0.2rem;
    font-family: SourceHanSansCN;
    font-weight: 400;
    color: #333333;
    margin-top: 0.2rem;
    align-items: center;
    display: flex;
    justify-content: center;
  }
  .mzzsj_list .last{
    width: 2.2rem;
    height: 0.55rem;
    background: #AFD5FF;
  }
  .mzzsj_blcl h3{
    font-size: 0.24rem;
    font-family: Microsoft YaHei;
    font-weight: bold;
    color: #252525;
    padding: 0.2rem 0.24rem 0.2rem;
  }
  .mzzsj_blcl h3::before {
      content: "";
      display: inline-block;
      width: 0.11rem;
      height: 0.13rem;
      margin-right: 0.05rem;
      background: url(../../../assets/img/chjm_ljt.png) no-repeat center;
      background-size: 100% 100%;
  }
</style>
